#include <iostream>
#include "version.h"          // 由 cmake 生成

int main(int argc, char* argv[])
{
    if (argc == 2 && std::string(argv[1]) == "--version") {
        std::cout << APP_VERSION << std::endl;
        return 0;
    }
    std::cout << "Hello, myapp " << APP_VERSION << std::endl;
    return 0;
}

